﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 退回处理行AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class RMALineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public RMALineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					TaxRate=0m; 
					RtnQtyTU1=0m; 
					RtnPice=0m; 
					RtnPriceNet=0m; 
					RtnMoneyTC=0m; 
					RtnMoneyTCNet=0m; 
		
					ApplyQtyTU1=0m; 
					DocLineNo= 0; 
				
		
					SrcDocLineNo= 0; 
				
					RtnQtyPU=0m; 
					RtnQtyIU=0m; 
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.RMAAITDTO != null) 
			{
				this.RMAAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.TaxSchedule != null) 
			{
				this.TaxSchedule.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        	        			if (this.ItemInfo != null) 
			{
				this.ItemInfo.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.Warehouse != null) 
			{
				this.Warehouse.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.TU != null) 
			{
				this.TU.DoSerializeKeyList(dict);
			}
	        			if (this.PU != null) 
			{
				this.PU.DoSerializeKeyList(dict);
			}
	        			if (this.IU != null) 
			{
				this.IU.DoSerializeKeyList(dict);
			}
	        			if (this.IMU != null) 
			{
				this.IMU.DoSerializeKeyList(dict);
			}
	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public RMALineAITDTOData(  ufida.u9.ait.openapi.RMAAITDTOData rMAAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData taxSchedule  , System.Decimal taxRate  , System.Decimal rtnQtyTU1  , System.Decimal rtnPice  , System.Decimal rtnPriceNet  , System.Decimal rtnMoneyTC  , System.Decimal rtnMoneyTCNet  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData itemInfo  , System.Decimal applyQtyTU1  , System.Int32 docLineNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData warehouse  , System.String srcDocNo  , System.Int32 srcDocLineNo  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.Decimal rtnQtyPU  , System.Decimal rtnQtyIU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData tU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData pU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData iU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData iMU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  )
		{
			initData();
			this.RMAAITDTO = rMAAITDTO;
			this.TaxSchedule = taxSchedule;
			this.TaxRate = taxRate;
			this.RtnQtyTU1 = rtnQtyTU1;
			this.RtnPice = rtnPice;
			this.RtnPriceNet = rtnPriceNet;
			this.RtnMoneyTC = rtnMoneyTC;
			this.RtnMoneyTCNet = rtnMoneyTCNet;
			this.ItemInfo = itemInfo;
			this.ApplyQtyTU1 = applyQtyTU1;
			this.DocLineNo = docLineNo;
			this.Warehouse = warehouse;
			this.SrcDocNo = srcDocNo;
			this.SrcDocLineNo = srcDocLineNo;
			this.DescFlexField = descFlexField;
			this.RtnQtyPU = rtnQtyPU;
			this.RtnQtyIU = rtnQtyIU;
			this.TU = tU;
			this.PU = pU;
			this.IU = iU;
			this.IMU = iMU;
			this.Project = project;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 退回处理AITDTO
		/// 退回处理行AITDTO.Misc.退回处理AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.RMAAITDTOData m_rMAAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.RMAAITDTOData RMAAITDTO
		{
			get	
			{	
				return m_rMAAITDTO ;
			}
			set	
			{	
				m_rMAAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 税组合
		/// 退回处理行AITDTO.Misc.税组合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_taxSchedule ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TaxSchedule
		{
			get	
			{	
				return m_taxSchedule ;
			}
			set	
			{	
				m_taxSchedule = value ;	
			}
		}
			
		

		/// <summary>
		/// 税率
		/// 退回处理行AITDTO.Misc.税率
		/// </summary>
		private System.Decimal m_taxRate ;
		[DataMember(IsRequired=false)]
		public System.Decimal TaxRate
		{
			get	
			{	
				return m_taxRate ;
			}
			set	
			{	
				m_taxRate = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定数量(计价)
		/// 退回处理行AITDTO.Misc.核定数量(计价)
		/// </summary>
		private System.Decimal m_rtnQtyTU1 ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnQtyTU1
		{
			get	
			{	
				return m_rtnQtyTU1 ;
			}
			set	
			{	
				m_rtnQtyTU1 = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定价格
		/// 退回处理行AITDTO.Misc.核定价格
		/// </summary>
		private System.Decimal m_rtnPice ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnPice
		{
			get	
			{	
				return m_rtnPice ;
			}
			set	
			{	
				m_rtnPice = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定未税价
		/// 退回处理行AITDTO.Misc.核定未税价
		/// </summary>
		private System.Decimal m_rtnPriceNet ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnPriceNet
		{
			get	
			{	
				return m_rtnPriceNet ;
			}
			set	
			{	
				m_rtnPriceNet = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定含税额
		/// 退回处理行AITDTO.Misc.核定含税额
		/// </summary>
		private System.Decimal m_rtnMoneyTC ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnMoneyTC
		{
			get	
			{	
				return m_rtnMoneyTC ;
			}
			set	
			{	
				m_rtnMoneyTC = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定未税额
		/// 退回处理行AITDTO.Misc.核定未税额
		/// </summary>
		private System.Decimal m_rtnMoneyTCNet ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnMoneyTCNet
		{
			get	
			{	
				return m_rtnMoneyTCNet ;
			}
			set	
			{	
				m_rtnMoneyTCNet = value ;	
			}
		}
			
		

		/// <summary>
		/// 物料
		/// 退回处理行AITDTO.Misc.物料
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_itemInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ItemInfo
		{
			get	
			{	
				return m_itemInfo ;
			}
			set	
			{	
				m_itemInfo = value ;	
			}
		}
			
		

		/// <summary>
		/// 申请数量
		/// 退回处理行AITDTO.Misc.申请数量
		/// </summary>
		private System.Decimal m_applyQtyTU1 ;
		[DataMember(IsRequired=false)]
		public System.Decimal ApplyQtyTU1
		{
			get	
			{	
				return m_applyQtyTU1 ;
			}
			set	
			{	
				m_applyQtyTU1 = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 退回处理行AITDTO.Misc.行号
		/// </summary>
		private System.Int32 m_docLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 仓库
		/// 退回处理行AITDTO.Misc.仓库
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_warehouse ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Warehouse
		{
			get	
			{	
				return m_warehouse ;
			}
			set	
			{	
				m_warehouse = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单号
		/// 退回处理行AITDTO.Misc.来源单号
		/// </summary>
		private System.String m_srcDocNo ;
		[DataMember(IsRequired=false)]
		public System.String SrcDocNo
		{
			get	
			{	
				return m_srcDocNo ;
			}
			set	
			{	
				m_srcDocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源行号
		/// 退回处理行AITDTO.Misc.来源行号
		/// </summary>
		private System.Int32 m_srcDocLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocLineNo
		{
			get	
			{	
				return m_srcDocLineNo ;
			}
			set	
			{	
				m_srcDocLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 扩展字段
		/// 退回处理行AITDTO.Misc.扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定数量(计价)
		/// 退回处理行AITDTO.Misc.核定数量(计价)
		/// </summary>
		private System.Decimal m_rtnQtyPU ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnQtyPU
		{
			get	
			{	
				return m_rtnQtyPU ;
			}
			set	
			{	
				m_rtnQtyPU = value ;	
			}
		}
			
		

		/// <summary>
		/// 核定数量(库存)
		/// 退回处理行AITDTO.Misc.核定数量(库存)
		/// </summary>
		private System.Decimal m_rtnQtyIU ;
		[DataMember(IsRequired=false)]
		public System.Decimal RtnQtyIU
		{
			get	
			{	
				return m_rtnQtyIU ;
			}
			set	
			{	
				m_rtnQtyIU = value ;	
			}
		}
			
		

		/// <summary>
		/// 交易单位
		/// 退回处理行AITDTO.Misc.交易单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_tU ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TU
		{
			get	
			{	
				return m_tU ;
			}
			set	
			{	
				m_tU = value ;	
			}
		}
			
		

		/// <summary>
		/// 计价单位
		/// 退回处理行AITDTO.Misc.计价单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_pU ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData PU
		{
			get	
			{	
				return m_pU ;
			}
			set	
			{	
				m_pU = value ;	
			}
		}
			
		

		/// <summary>
		/// 库存单位
		/// 退回处理行AITDTO.Misc.库存单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_iU ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IU
		{
			get	
			{	
				return m_iU ;
			}
			set	
			{	
				m_iU = value ;	
			}
		}
			
		

		/// <summary>
		/// 库存主单位
		/// 退回处理行AITDTO.Misc.库存主单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_iMU ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IMU
		{
			get	
			{	
				return m_iMU ;
			}
			set	
			{	
				m_iMU = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 退回处理行AITDTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																												
		#endregion 
	} 	
}
